package com.atguigu.spzx.manager.mapper;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.ProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-10-20:38
 */
@Mapper
public interface ProductSkuMapper {
    void batchSave(List<ProductSku> productSkuList);
    void updateById(ProductSku productSku);

    void deleteByProductId(Long productId);

    void updateStatus(@Param("id") Long id,@Param("status") Integer status);

}
